<?php
class roleconfig 
{
   public $configuration;
   function __construct(){
     $this->configuration = array(
  'general'=>array(
    'tableName' => 'role',
    'isView' => False,
    'isReadOnly' => False,
    'canBeDeleted' => False,
    'hasStatus' => True,
    'hasAttach' => False,
    'description' => '',
    'orderFields' => '',
    'labelSingular' => 'Role',
    'labelPlural' => 'Roles',
    'descriptor' => 'titre',
    'timeStampable' => True,
    'formExtraTemplate' => '',
    'showExtraTemplate' => '',
    'indexExtraTemplate' => '',
    'filesPathName' => 'upload',
  ),
  'attributes'=>array(
    'id' => array( 
      'type' => 'integer',
      'size' => '',
      'label' => '',
      'help' => '',
      'list' => False,
      'show' => False,
      'search' => False,
      'notnull' => False,
      'readOnly' => True,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'id',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'description' => array( 
      'type' => 'string',
      'size' => '50',
      'label' => 'Description',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'description',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'titre' => array( 
      'type' => 'string',
      'size' => '50',
      'label' => 'Titre',
      'help' => 'Titre qui sera affich&eacute; aux utilisateurs',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'titre',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'modifDemandes' => array( 
      'type' => 'boolean',
      'size' => '',
      'label' => 'Modification des demandes',
      'help' => 'Ce r&ocirc;le peut modifier les demandes quand il &agrave; des actions &agrave; effectuer',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Param&egrave;tre',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'modifDemandes',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'technicien' => array( 
      'type' => 'boolean',
      'size' => '',
      'label' => 'Est un technicien',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Param&egrave;tre',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'technicien',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'interne' => array( 
      'type' => 'boolean',
      'size' => '',
      'label' => 'Est un r&ocirc;le interne',
      'help' => 'Si le r&ocirc;le est interne, peut voir les affectations de la demande',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Param&egrave;tre',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'interne',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'reaffectation' => array( 
      'type' => 'boolean',
      'size' => '',
      'label' => 'Peut reaffecter demandes',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Param&egrave;tre',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'reaffectation',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'permissions' => array( 
      'type' => 'BOList',
      'size' => '',
      'label' => 'Permissions',
      'help' => '',
      'list' => False,
      'show' => True,
      'search' => False,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => 'One To Many',
      'relatedClass' => 'permission',
      'alias' => 'permissions',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'activeStatus' => array( 
      'type' => 'integer', 
      'size' => '',
      'label' => 'Active Status',
      'help' => ' ',
      'list' => true,
      'show' => true,
      'search' => true,
      'notnull' => false,
      'readOnly' => false,
      'isID' => false,
      'default' => '0',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'section' => 'Status',
      'step' => '',
      'relationType' => '',
      'relatedClass' => '',
      'refClass' => '',
      'foreignAlias' => '',
      'fileName' => '',
      'fileNameAttribute' => '',
  ),
  ),
  'attributesWithTotal'=>array(
  ),
  );
 }
 }
